#打印名字
# 定义“黄”“国”“权”三个字的点阵结构（10行×10列）
char_dot = {
    '黄': [
        "0011111000",
        "0100000100",
        "0100110100",
        "0101000100",
        "0110000100",
        "0101111100",
        "0100000100",
        "0100000100",
        "0100000100",
        "0011111000"
    ],
    '国': [
        "0111111100",
        "1000000010",
        "1011110010",
        "1010010010",
        "1010010010",
        "1010010010",
        "1010010010",
        "1011110010",
        "1000000010",
        "0111111100"
    ],
    '权': [
        "0001100000",
        "0001100000",
        "0001100000",
        "0001111100",
        "0001100100",
        "0001100100",
        "0111111110",
        "0100110010",
        "0100110010",
        "0011111100"
    ]
}

def print_name(name):
    # 检查名字中的字符是否都有定义
    for char in name:
        if char not in char_dot:
            print(f"抱歉，暂不支持字符：{char}，请先定义其点阵结构")
            return
    
    # 获取点阵的行数（所有汉字行数需一致）
    rows = len(char_dot[name[0]])
    
    # 逐行拼接并打印
    for i in range(rows):
        line = ""
        for char in name:
            # 将0替换为空格，1替换为*
            row_str = char_dot[char][i].replace('0', ' ').replace('1', '*')
            line += row_str  # 拼接同一行的多个汉字
        print(line)

# 打印“黄国权”
print_name("黄国权")